package com.chinameyer.workorders.bean;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

/**
 * @Author meyer@HongYe
 */
@Data
public class MeyerWorkOrders {
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private int id;
    @ExcelProperty("工单编号")
    private String workOrderNo;
    @ExcelProperty("产品品号")
    private String productNo;
    @ExcelProperty("品名")
    private String productName;
    @ExcelProperty("规格")
    private String specifications;
    @ExcelProperty("数量")
    private int amount;
    @ExcelProperty("工时")
    private String workingHours;
    @ExcelProperty("工艺")
    private String technology;
    @ExcelIgnore
    private int catalogueId;
    @ExcelIgnore
    private int status;
    @ExcelProperty("机型批次")
    private String modelBatch;
    @JsonIgnore
    @ExcelIgnore
    private Date createTime;
    @JsonIgnore
    @ExcelIgnore
    private Date updateTime;
    @JsonIgnore
    @ExcelIgnore
    @TableLogic
    private Date deleteTime;
}
